<script>
	export default {
		onLaunch: function() {
			this.$api.post('/getnewcity',{}).then(res=>{
			    uni.setStorageSync('citydata1',res.data)
			   })
			this.$api.post('/projectconfig', {}).then(res => {
				if (res.code == 1) {
					uni.setStorageSync('project',res.data)
					this.$store.commit('setInfo',res.data)
					
				}
			}).catch((res) => {})

		},
		onShow: function() {
			// uni.setStorageSync('token','dfae044e-7638-466f-9935-b40ace45e5c5')
		},
		onHide: function() {

		}
	}
</script>

<style lang="scss">
	/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
	@import "@/uni_modules/uview-ui/index.scss";
	*{
		margin: 0;
		padding: 0;
	}
	.submit-btn{
		width: 90%;
		font-size: 28rpx;
		color: #fff;
		background-color: #00CE9B;
		text-align: center;
		padding: 30rpx 0;
		margin: 30rpx auto 30rpx;
		border-radius: 50rpx;
	}
	page{
		background: #F7F7FA;
	}
	.flex {
		display: flex;
	}

	.flex-cneter {
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.mybtn{
		width: 90vw;
		border-radius: 30rpx;
		background-color: #00CE9B;
		color: #fff;
		padding: 40rpx;
		box-sizing: border-box;
		text-align: center;
		box-shadow: 0px 10px 0px 0px #03936F;
	
	}
	//超出隐藏
	.hidden {
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
		width: 450rpx;
	}
	.bottom{
		bottom: calc(120rpx + env(safe-area-inset-bottom));
	}
	.circle {
		width: 35rpx;
		height: 33rpx;
		border-radius: 50%;
		border: 1rpx solid $uni-primary;
	}
</style>
